import 'package:flutterproject/generated/json/base/json_field.dart';
import 'package:flutterproject/generated/json/zengzhi_bean.g.dart';
import 'dart:convert';

@JsonSerializable()
class ZengzhiBean {
	double? balance;
	List<ZengzhiList>? list;

	ZengzhiBean();

	factory ZengzhiBean.fromJson(Map<String, dynamic> json) => $ZengzhiBeanFromJson(json);

	Map<String, dynamic> toJson() => $ZengzhiBeanToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class ZengzhiList {
	int? id;
	int? createTime;
	int? updateTime;
	int? flag;
	int? type;
	String? title;
	double? type2Rate;
	int? type2Term;

	ZengzhiList();

	factory ZengzhiList.fromJson(Map<String, dynamic> json) => $ZengzhiListFromJson(json);

	Map<String, dynamic> toJson() => $ZengzhiListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}